def is_prime(number):
     if number < 2:
          return False
     if number == 2:
          return True
     for index in range(2, number):
          if number % index == 0:
               return False
          return True

def print_prime(begin, end):
     for number in range(begin, end+1):
          if is_prime(number):
               print(f"{number}是素数")

begin = 1
end = 100
print_prime(begin, end)